html,
body {
    margin: 0;
    padding: 0;
    border: none;
    text-align: center;
    background-color: #141526;
    color: #FFF;
    font-family: 微软雅黑;
}

body {
    text-align: center;
    font-family: "Roboto", sans-serif;
}

table {
    margin: 0 auto;
    width: 360px;
}

table tr {
    margin: 0 auto;
}

#startStopBtn {
    display: inline-block;
    margin: 0 auto;
    color: #e7e7ee;
    background-color: rgba(0, 0, 0, 0);
    border: 0.15em solid #6060FF;
    border-radius: 0.3em;
    transition: all 0.3s;
    box-sizing: border-box;
    width: 8em;
    height: 3em;
    line-height: 2.7em;
    cursor: pointer;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0.1), inset 0 0 0 rgba(0, 0, 0, 0.1);
}

#startStopBtn:hover {
    box-shadow: 0 0 2em rgba(0, 0, 0, 0.1), inset 0 0 1em rgba(0, 0, 0, 0.1);
}

#startStopBtn.running {
    background-color: #FF3030;
    border-color: #FF6060;
    color: #FFFFFF;
}

#startStopBtn:before {
    content: "开始测试";
}

#startStopBtn.running:before {
    content: "放弃测试";
}

#test {
    margin-top: 2em;
    margin-bottom: 12em;
}

div.testArea {
    display: inline-block;
    width: 14em;
    height: 9em;
    position: relative;
    box-sizing: border-box;
}

div.testName {
    position: absolute;
    top: 0.1em;
    left: 0;
    width: 100%;
    font-size: 1.4em;
    z-index: 9;
}

div.meterText {
    position: absolute;
    bottom: 1.5em;
    left: 0;
    width: 100%;
    font-size: 2.5em;
    z-index: 9;
}

#dlText {
    color: #6060AA;
}

#ulText {
    color: #309030;
}

#pingText,
#jitText {
    color: #AA6060;
}

div.meterText:empty:before {
    color: #505050 !important;
    content: "0.00";
}

div.unit {
    position: absolute;
    bottom: 2em;
    left: 0;
    width: 100%;
    z-index: 9;
}

div.testGroup {
    display: inline-block;
}

@media all and (max-width:65em) {
    body {
        font-size: 1.5vw;
    }
}

@media all and (max-width:40em) {
    body {
        font-size: 0.8em;
    }
    div.testGroup {
        display: block;
        margin: 0 auto;
    }
}

#progressBar {
    width: 90%;
    height: 0.3em;
    background-color: #EEEEEE;
    position: relative;
    display: block;
    margin: 0 auto;
    margin-bottom: 2em;
}

#progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    transition: width 2s;
    background-color: #83d63e;
}

a {
    text-decoration: none;
    color: #505050;
}